package com.example.springbootfirst.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * created by Morgan on 2021/10/1
 */
@ConfigurationProperties(prefix = "swagger")
@Component
@Data
public class SwaggerProperties {
    private boolean enabled;
    private String title;
    private String name;
    private String url;
    private String email;
    private String version;
    private List<String> basePackage;
}
